import {NgModule} from '@angular/core';
/**
 * 开发component需要的依赖
 */
import {BaseSharedModule} from '../base-shared';
import {PipesModule} from '../pipes/pipes.module';
/**
 * 所有组件
 */

import {SideMenuComponent} from './side-menu/side-menu.component';
import {IconComponent} from './icon/icon.component';
import {SkinComponent} from './skin/skin.component';


// todo 所有组件都应该使用module隔离,这样才可以开启tree shook
const components = [SideMenuComponent, IconComponent, SkinComponent
];

@NgModule({
    declarations: [...components],
    imports: [
        BaseSharedModule,
        PipesModule,
    ],
    providers: [],
    exports: [...components]
})
export class ComponentsModule {
}
